package com.entity.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.beanutils.BeanUtils;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.lang.reflect.InvocationTargetException;
import java.util.Date;



@Data
public class OperateLogExcelVO<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	@ExcelProperty(value = "ID")
	private Long id;

	/**
	 * 操作标题
	 */
	@ExcelProperty(value = "操作标题")
	private String title;
	
	/**
	 * 操作类型
	 */
	@ExcelProperty(value = "操作类型")
	private String action;

	/**
	 * 操作用户id
	 */
	@ExcelProperty(value = "操作用户id")
	private Long operatorId;

	/**
	 *
	 */
	@ExcelProperty(value = "操作者角色")
	private String operatorRole;

	@ExcelProperty(value = "操作者名称")
	private String operatorName;

	@ExcelProperty(value = "操作描述")
	private String mark;

	@ExcelProperty(value = "创建时间")
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat 		
	private Date createTime;
	


}
